﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge chrome=1" />
    <title>综合信息服务平台</title>
    <link href="static/css/admin.css?v=6" rel="stylesheet" />
    <script src="static/js/boot.js?v=2"></script>
    <script src="static/js/admin.js?v=2"></script>
    <style>
    </style>
    <script type="text/javascript">
        $(function () {
            $('#layout').layout();
            sidebar_menu_init();
            isLogin();
        });
        function sidebar_menu_init() {
            $("#mainContent").height($(window).height() - 70);
            $("#sidebar-nav").height($(window).height() - 70);
            $(window).resize(function (e) {
                $("#mainContent").height($(window).height() - 70);
                $("#sidebar-nav").height($(window).height() - 70);
            });
            $("#sidebar-nav li a").click(function () {
                var d = $(this), e = d.next();
                if (e.is(".treeview-menu") && e.is(":visible")) {
                    e.slideUp(500, function () {
                        e.removeClass("menu-open")
                    }),
                        e.parent("li").removeClass("active")
                } else if (e.is(".treeview-menu") && !e.is(":visible")) {
                    var f = d.parents("ul").first(),
                        g = f.find("ul:visible").slideUp(500);
                    g.removeClass("menu-open");
                    var h = d.parent("li");
                    e.slideDown(500, function () {
                        e.addClass("menu-open"),
                            f.find("li.active").removeClass("active"),
                            h.addClass("active");

                        var _height1 = $(window).height() - $("#sidebar-nav >li.active").position().top - 41;
                        var _height2 = $("#sidebar-nav li > ul.menu-open").height() + 10;
                    })
                }
                if (e.context.className == "menuItem") {
                    if ($(window).width() <= 1024) {
                        $("#nav-col").hide();
                        $("#menuWarp").hide();
                    }
                }
                e.is(".treeview-menu");
            });
        }

        function isLogin() {
            var _userid = $.cookie("userid");
            if (!!_userid) {

            } else {
                location.href = '/admin/login.html';;
            }
        }
    </script>
</head>
<body style="margin: 0px;padding: 0px;overflow:hidden;">
    <script src="static/js/head.js?v=1"></script>
    <div class="ui-layout" id="layout" style="height:92%; width: 100%;">
        <div class="ui-layout-west">
            <div class="sidebar">
                <ul class="sidebar-menu" id="sidebar-nav" style="overflow: auto; height: 355px;">
                    <li class="treeview">
                        <a href="javascript:;"><i class="fa fa-hacker-news"></i><span>内容管理</span><i class="fa fa-angle-left pull-right"></i></a>
                        <ul class="treeview-menu">
                            <li><a class="menuItem" href="news/index.html" target="menuItem"><i class="fa fa-play"></i>新闻管理</a></li>
                            <li><a class="menuItem" href="tag/index.html" target="menuItem"><i class="fa fa-play"></i>标签管理</a></li>
                            <li><a class="menuItem" href="comment/index.html" target="menuItem"><i class="fa fa-play"></i>评论管理</a></li>
                            <li><a class="menuItem" href="friendlink/index.html" target="menuItem"><i class="fa fa-play"></i>友情链接</a></li>
                        </ul>
                    </li>
                   <li class="treeview">
                        <a href="javascript:;"><i class="fa fa-sitemap"></i><span>组织关系</span><i class="fa fa-angle-left pull-right"></i></a>
                        <ul class="treeview-menu">
                            <li><a class="menuItem" href="org/index.html" target="menuItem"><i class="fa fa-play"></i>组织机构</a></li>
                            <li><a class="menuItem" href="user/index.html" target="menuItem"><i class="fa fa-play"></i>用户管理</a></li>
                            <li><a class="menuItem" href="role/index.html" target="menuItem"><i class="fa fa-play"></i>角色管理</a></li>
                            <li><a class="menuItem" href="role/roleuser.html" target="menuItem"><i class="fa fa-play"></i>权限管理</a></li>
                       </ul>
                    </li>
      
                    <li class="treeview">
                        <a href="javascript:;"><i class="fa fa-cog"></i><span>基础设施</span><i class="fa fa-angle-left pull-right"></i></a>
                        <ul class="treeview-menu">
                            <li><a class="menuItem" href="setting/index.html" target="menuItem"><i class="fa fa-play"></i>系统配置</a></li>
                            <li><a class="menuItem" href="site/index.html" target="menuItem"><i class="fa fa-play"></i>站点管理</a></li>
                            <li><a class="menuItem" href="menu/index.html" target="menuItem"><i class="fa fa-play"></i>菜单管理</a></li>
                            <li><a class="menuItem" href="syslog/index.html" target="menuItem"><i class="fa fa-play"></i>系统日志</a></li>
                            <li><a class="menuItem" href="openjob/index.html" target="menuItem"><i class="fa fa-play"></i>计划任务</a></li>
                        </ul>
                    </li>

                </ul>
            </div>
        </div>
        <div class="ui-layout-center">
            <div class="content-tabs">
                <nav class="page-tabs menuTabs">
                    <div class="page-tabs-content" style="margin-left: 0px;">
                        <a href="javascript:;" class="menuTab active" data-id="desktop.html">介绍</a>
                    </div>
                </nav>
            </div>
            <div id="content-wrapper">
                <div class="content-iframe" style="background-color: #f9f9f9; ">
                    <div class="mainContent" id="mainContent" style="margin: 0px; margin-bottom: 0px; padding: 0;">
                        <iframe class="NFine_iframe" width="100%" height="95%" data-id="desktop.html" src="desktop.html" frameborder="0" id="iframedesktop" name="iframedesktop"></iframe>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script src="static/js/indextab.js?v=3"></script>
</body>
</html>
